package com.ruoyi.crm.service;

import java.util.List;
import com.ruoyi.crm.domain.ReturnPurchase;

/**
 * 采购退货单Service接口
 *
 * @author ruoyi
 * @date 2021-08-31
 */
public interface IReturnPurchaseService
{
    /**
     * 查询采购退货单
     *
     * @param id 采购退货单主键
     * @return 采购退货单
     */
    public ReturnPurchase selectReturnPurchaseById(String id);

    /**
     * 查询采购退货单列表
     *
     * @param returnPurchase 采购退货单
     * @return 采购退货单集合
     */
    public List<ReturnPurchase> selectReturnPurchaseList(ReturnPurchase returnPurchase);

    /**
     * 新增采购退货单
     *
     * @param returnPurchase 采购退货单
     * @return 结果
     */
    public int insertReturnPurchase(ReturnPurchase returnPurchase);

    /**
     * 修改采购退货单
     *
     * @param returnPurchase 采购退货单
     * @return 结果
     */
    public int updateReturnPurchase(ReturnPurchase returnPurchase);

    /**
     * 批量删除采购退货单
     *
     * @param ids 需要删除的采购退货单主键集合
     * @return 结果
     */
    public int deleteReturnPurchaseByIds(String[] ids);

    /**
     * 删除采购退货单信息
     *
     * @param id 采购退货单主键
     * @return 结果
     */
    public int deleteReturnPurchaseById(String id);
}